package edu.sctu.practice.class02.Wangpeng.Test5;

import edu.sctu.practice.class02.xuqianlan.practice.P;

/**
 * Created by wp on 2015/11/9.
 */
public class Person {
    private String name;
    private int age;

    public Person(String name,int age){
        this.name=name;
        this.age=age;
    }
    void display(){
        System.out.println("姓名-"+name+"年龄-"+age);
    }
}
